package com.ch.api.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * APi接口
 *
 * @author CH
 * @data 2021/12/22
 */
@RestController
@RequestMapping("/api")
public class ApiController {

    @RequestMapping("/demo01")
    public int demo01(){
        return 1;
    }

    @RequestMapping("/demo02")
    public int demo02(){
        return 2;
    }

    @RequestMapping("/demo03")
    public int demo03(){
        return 3;
    }

    @RequestMapping("/demo04")
    public int demo04(){
        return 4;
    }
}
